// 信用卡列表
const CREATE_LIST = 'getCreditList';
// 信用卡信息
const CREATE_INFO = 'getCreditInfo';
// 添加信用卡记录
const ADD_CREDAT = 'addCredit';
// 删除信用卡记录
const DEL_CREDAT = 'delCredit';
// 修改信用卡记录
const EDIT_CREDAT = 'editCredit';
// 查询支出记录
const QUERY_ACCOUNTS = 'queryAccounts';
// 获取收入记录
const QUERY_INCOMES = 'queryIncomes';
// 根据主键查询支出
const QUERY_ACCOUNT_BY_ID = 'queryAccountById';
// 根据主键获取收入
const QUERY_INCOME_BY_ID = 'queryIncomeById';
// 根据主键删除支出
const DELETE_ACCOUNT_BY_ID = 'deleteAccountById';
// 根据主键产出收入
const DELETE_INCOME_BY_ID = 'deleteIncomeById';
// 获取所有的类型总和
const GET_ALL_TYPE_COUNT = 'getAllTypeCount';
// 获取各个月的额度
const GET_ALL_MONTH_NUM = 'getAllMonthNum';
// 获取恩格尔系数
const GET_ENGEL_COEFFICIENT = 'getEngelCoefficient';
// 新增账单
const ADD_ACCOUNT = 'addAccout';
// 新增收入
const ADD_INCOME = 'addIncome';
// 获取总收入
const QUERY_TOTAL_ACCOUNT = 'queryTotalAccount';

module.exports = {
  CREATE_LIST,
  CREATE_INFO,
  ADD_CREDAT,
  DEL_CREDAT,
  EDIT_CREDAT,
  QUERY_ACCOUNTS,
  QUERY_INCOMES,
  QUERY_ACCOUNT_BY_ID,
  QUERY_INCOME_BY_ID,
  DELETE_ACCOUNT_BY_ID,
  DELETE_INCOME_BY_ID,
  GET_ALL_TYPE_COUNT,
  GET_ALL_MONTH_NUM,
  GET_ENGEL_COEFFICIENT,
  ADD_ACCOUNT,
  ADD_INCOME,
  QUERY_TOTAL_ACCOUNT
};

